package org.easy.tool.service;

import org.easy.tool.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Valley
 * @since 2023-08-25 14:20:43
 */
public interface IUser extends IService<User> {

    User getUserByName(String userName);

    User getUserById(String userId);

    User getUserByPhone(String phone);

    String addUser(User user);


    User getUser(User user);
}
